﻿using Biomedica.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KinectWindows.Nui.Nui.Detectors
{
     
    public class TwoHandDistance : DetectorBase
    {
      
        public override Biomedica.Graphics.Vector3 Calculate(Biomedica.Graphics.Vector3[] c)
        {
            Value = c[0].Distance(c[1]);
            return Value;
        }
        public Biomedica.Graphics.Vector3 Calculate(Vector3 left_hand,Vector3 right_hand)
        {

            return Calculate(new Vector3[] {left_hand,right_hand });
        }
    }
}
